package com.mrd.gtimpframe.repository;

import com.mrd.gtimpframe.entity.DeclarationCharge;

import java.util.List;

public interface DeclarationChargeMapper {
    int deleteByPrimaryKey(String id);
    int deleteByDid(String did);

    int insert(DeclarationCharge record);

    int insertSelective(DeclarationCharge record);

    DeclarationCharge selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DeclarationCharge record);

    int updateByPrimaryKey(DeclarationCharge record);

    int batchInsert(List<DeclarationCharge> charges);

    int updateByDidAndChargeComIdAndInoutWithStatus(String did, String chargeComId, String inOut, String status);

    int batchUpdateByDidAndChargeComIdAndInoutWithStatus(List<String> didList, String chargeComId, String inOut, String status);
}
